package com.ruoyi.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 jptlaserhis
 * 
 * @author DL
 * @date 2025-07-08
 */
@Data
public class Jptlaserhis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long ID;

    /** 激光器功率 */
    @Excel(name = "激光器功率")
    private BigDecimal LaserPowerValue;

    /** 报警信息 */
    @Excel(name = "报警信息")
    private String AlarmMessage;

    /** 报警复位 */
    @Excel(name = "报警复位")
    private Long AlarmReset;

    /** 报警信号 */
    @Excel(name = "报警信号")
    private Long AlarmSignal;

    /** 启动/停止(0:停止  1：启动) */
    @Excel(name = "启动/停止(0:停止  1：启动)")
    private Long OnStart;

    /** 子模块温度1 */
    @Excel(name = "子模块温度1")
    private BigDecimal PowerModuleTemp1;

    /** 子模块温度2 */
    @Excel(name = "子模块温度2")
    private BigDecimal PowerModuleTemp2;

    /** 子模块温度3 */
    @Excel(name = "子模块温度3")
    private BigDecimal PowerModuleTemp3;

    /** 写库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "写库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date EventTime;

    /** 激光功率设定 */
    @Excel(name = "激光功率设定")
    private BigDecimal LaserPowerSet;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("LaserPowerValue", getLaserPowerValue())
            .append("AlarmMessage", getAlarmMessage())
            .append("AlarmReset", getAlarmReset())
            .append("AlarmSignal", getAlarmSignal())
            .append("OnStart", getOnStart())
            .append("PowerModuleTemp1", getPowerModuleTemp1())
            .append("PowerModuleTemp2", getPowerModuleTemp2())
            .append("PowerModuleTemp3", getPowerModuleTemp3())
            .append("EventTime", getEventTime())
            .append("LaserPowerSet", getLaserPowerSet())
            .toString();
    }
}
